package life.system.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import life.system.common.utils.PageUtils;
import life.system.order.entity.OrderEntity;
import life.system.order.vo.OrderDetailVo;
import life.system.order.vo.OrderListVo;
import life.system.order.vo.OrderSubmitVo;
import life.system.order.vo.SubmitOrderResponseVo;


import java.util.List;
import java.util.Map;


public interface OrderService extends IService<OrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    SubmitOrderResponseVo submitOrder(OrderSubmitVo submitVo);

    void closeOrder(OrderEntity entity);

    OrderEntity getOrderByOrderSn(String orderSn);

    OrderDetailVo detail(String orderSn);

    List<OrderListVo> getOrderList();
}

